package com.heima.student_work;

import java.util.ArrayList;

public class C_stu {
    private ArrayList<Student> list;

    public static void addStu(Student s, ArrayList<Student> list) {
        list.add(s);
    }

    public static void display(ArrayList<Student> list) {
        for (int i = 0; i < list.size(); i++) {
            Student s = list.get(i);
            s.print();
        }
    }
}
